﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace ProjTemp.Desktop.Common.Container
{
    public class ContainerSetting
    {
        /// <summary>
        /// Default NaN, means auto
        /// </summary>
        public double Height { get; set; }
        /// <summary>
        /// Default NaN, means auto
        /// </summary>
        public double Width { get; set; }
        /// <summary>
        /// Default False
        /// </summary>
        public bool ShowMinButton { get; set; }
        /// <summary>
        /// Default False
        /// </summary>
        public bool ShowMaxButton { get; set; }
        /// <summary>
        /// Default True
        /// </summary>
        public bool ShowCloseButton { get; set;}
        /// <summary>
        /// Default True
        /// </summary>
        public bool ShowInTaskBar { get; set; }
        /// <summary>
        /// Default Normal
        /// </summary>
        public WindowState WindowState { get; set; }
        /// <summary>
        /// Default CenterOwner
        /// </summary>
        public WindowStartupLocation WindowStartupLocation { get; set; }
        /// <summary>
        /// Default CanResize
        /// </summary>
        public ResizeMode ResizeMode { get; set; }

        public ContainerSetting()
        {
            this.Height = double.NaN;
            this.Width = double.NaN;
            this.ShowCloseButton = true;
            this.ShowInTaskBar = true;
            this.ShowMaxButton = false;
            this.ShowMinButton = false;
            this.WindowState = System.Windows.WindowState.Normal;
            this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner;
            this.ResizeMode = System.Windows.ResizeMode.CanResize;
        }
    }
}
